package com.tao.springbootstart.config;


import com.tao.springbootstart.controller.AController;
import com.tao.springbootstart.controller.RobotController;
import com.tao.springbootstart.properties.RobotProperties;
import com.tao.springbootstart.service.RobotService;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

//给容器中导入Robot功能要用的所有组件
@EnableConfigurationProperties({RobotProperties.class})
@Configuration
//@ComponentScan("com.tao.springbootstart")
@Import({AController.class, RobotService.class, RobotController.class})
public class RobotAutoConfiguration {

}